package com.grablist.feihu.grablist.ui.actviity.user.module;


import dagger.Module;
import dagger.Provides;
import com.grablist.feihu.grablist.ui.actviity.user.biz.CollectionBiz;
import com.grablist.feihu.grablist.ui.actviity.user.contract.CollectionContract;

/**
 * Created by chenjian on 16/8/31.
 */
@Module
public class CollectionModule {
    private CollectionContract.View view;

    public CollectionModule(CollectionContract.View view) {
        this.view = view;
    }

    @Provides
    public CollectionContract.View provideView() {
        return view;
    }

    @Provides
    public CollectionBiz provideBiz() {
        return new CollectionBiz();
    }
}